//
//  Customer.h
//  4-6
//
//  Created by Mac OS on 16-4-13.
//  Copyright (c) 2016年 liaomengshi. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol EatDelegate  <NSObject>

//必然实现
@required
- (void)pay:(float)money;
- (void)getFood:(NSString *)str;

//
@optional
- (void)otherMethod;

@end

@interface Customer : NSObject

@property (weak,nonatomic) id<EatDelegate> delegate;
//              非原子操作      必须遵守的协议    代理

-(void)comeToRestorant;
//     去饭店
@end
